import Vue from 'vue'
import App from './App'
import router from './router'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import axios from './utils/http'
// npm install vue-video-player --save
import VideoPlayer from 'vue-video-player'
// npm install vuex@3 指定安装vuex3   vuex3-->vue2.0   默认为vuex4-->vue3
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)
Vue.prototype.$http=axios
Vue.config.productionTip = false

Vue.use(ViewUI)
Vue.use(ElementUI)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store ,//键值重名，触发简写
  components: { App },
  template: '<App/>'
})